home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 00 / 5 / DISK0050.ZIP / ROFF3.C < prev    next >
Text File  |  1982-09-01  |  302b  |  19 lines

  1. #include "stdio.h"
  2. #include "ctype.h"
  3. #include "roff.he"
  4.  
  5. /* extras needed by roff */
  6.  
  7. movwrd(in,out)
  8. char *in, *out;
  9.     {
  10.   char *tmp;
  11.   tmp = out;
  12. if(! *in) { *out = '\0' ; return(0) ; }
  13. while (*in && !isspace(*out = *in))
  14.     { out++; in++; }
  15.  *out = '\0';
  16.   return( out != tmp );
  17.     }
  18.  
  19.